package com.easy.common.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.easy.common.enumbean.OrderStatus;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("orders")
public class Orders extends BaseBean implements Serializable {
     @TableId(type = IdType.AUTO)
     //这里修改了数据库 数据库是String
     private Integer id;
     private Integer customer_id;
     private Integer user_id;
     private LocalDateTime order_time;
     private BigDecimal total_amount;
     private OrderStatus order_status;
     private LocalDateTime deal_time;
     private String contract_filename;
     private String contract_file;
}
